package com.gxgeek.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

/**
 * @author gaoxing
 * @create 2018-05-22 下午5:20
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Rule {
    /**
     * 规则ID
     */
    private Long ruleId;
    /**
     * 规则描述
     */
    private String ruleCode;

    private int ruleScore;
    //该规则表达式
    private  String condExpress;

    private List<RuleCondition> conditions = new ArrayList<>();

    private String notifyPolicy;

}
